﻿using Basic.UserRemoteModel.User.Model;
using WeDonekRpc.Client;
using WeDonekRpc.Model;

namespace Basic.UserService.Interface
{
    public interface IUserLogic
    {
        void Disable (long id);
        void Enable (long id);
        PagingResult<UserData> Query (UserQueryParam query, IBasicPage paging);
        void ResetPwd (long userId, string pwd);
        void SetPwd (long userId, string oldPwd, string pwd);

        bool Set (long userId, UserSetDatum datum);
    }
}